package com.open.rbac.constant;

/**
 * 固定用户
 */
public enum ImmutableUser {
    /**
     * 超级管理员
     * 用户/角色赋权
     */
    SUPER("SUPER-ADMINISTRATOR", "SUPER"),

    /**
     * 管理员
     */
    ADMINISTRATOR("ADMINISTRATOR", "ADMINISTRATOR");

    private final String id;
    private final String username;

    ImmutableUser(String id, String username){
        this.id = id;
        this.username = username;
    }

    public String id() {
        return this.id;
    }

    public String username() {
        return this.username;
    }

}
